package com.base.service;

import com.base.po.voip.ShareRedPacketMoney;
import com.base.po.voip.ShareRedPacketMoneyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShareRedPacketMoneyService {
    int countByExample(ShareRedPacketMoneyExample example);

    int deleteByExample(ShareRedPacketMoneyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShareRedPacketMoney record);

    int insertSelective(ShareRedPacketMoney record);

    List<ShareRedPacketMoney> selectByExample(ShareRedPacketMoneyExample example);

    List<ShareRedPacketMoney> selectByRedPacketId(@Param("userid") String userid, @Param("redpacketid") String redpacketid);

    ShareRedPacketMoney selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShareRedPacketMoney record, @Param("example") ShareRedPacketMoneyExample example);

    int updateByExample(@Param("record") ShareRedPacketMoney record, @Param("example") ShareRedPacketMoneyExample example);

    int updateByPrimaryKeySelective(ShareRedPacketMoney record);

    int updateByPrimaryKey(ShareRedPacketMoney record);
}